﻿@model MvcSecCamStore.Models.Cam

@{
    ViewBag.Title = "Cam - " + Model.Title;
}

<h2>@Model.Title</h2>

<p>
    <img alt="@Model.Title" src="@Model.CamManufactUrl" />
</p>

<div id="album-details">
    <p>
        <em>Camera type:</em>
        @Model.Camtype.Name
    </p>
    <p>
        <em>Manufacture:</em>
        @Model.Manufact.Name
    </p>
    <p>
        <em>Price:</em>
        @String.Format("{0:F}", Model.Price)
    </p>
    <p class="button">
        @Html.ActionLink("Add to cart", "AddToCart", 
        "ShoppingCart", new { id = Model.CamId }, "")
    </p>
</div>
